﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using PeonyShop.DAL;

namespace PeonyShop.Bussiness
{
    public class BProduct
    {
        public BProduct()
        {
 
        }
        public DataSet GetAllProductById(int Id)
        {
            DAProduct DAPro = new DAProduct();
            DataSet ds = DAPro.GetAllProductById(1);
            return ds;
        }

        public DataSet GetProductByCate(int MainCate, int SubCate)
        {
            return new DAProduct().GetProductByCate(MainCate, SubCate);
        }
    }
}
